package com.spring.common.web.model;

import java.util.Date;

public class Membercard extends Contract{
    private String id;

    private String cUserId;

    private String memberNumber;

    private String cardNumber;

    private Date beginTime;

    private Date endTime;

    private Integer isvalid;

    private Integer isenable;

    private String cMembercardApplicationid;

    private String cardOutNumber;

    private String userName;

    private String cFamilyId;

    private String contractNumber;

    private String contractName;

    private String contractid;

    private String kidsParkid;

    private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

    private Integer entityavailablestate;
    
    public void setData(MembercardApplication membercardApplication,Contract contract){
		this.setId(membercardApplication.getMembercardID());
		this.setCardNumber(contract.getCardNumber());
		this.setCardOutNumber(contract.getCardOutNumber());
		this.setContractName(contract.getName());
		this.setBeginTime(contract.getBegintime());
		this.setEndTime(contract.getEndtime());
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getcUserId() {
        return cUserId;
    }

    public void setcUserId(String cUserId) {
        this.cUserId = cUserId == null ? null : cUserId.trim();
    }

    public String getMemberNumber() {
        return memberNumber;
    }

    public void setMemberNumber(String memberNumber) {
        this.memberNumber = memberNumber == null ? null : memberNumber.trim();
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber == null ? null : cardNumber.trim();
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getIsvalid() {
        return isvalid;
    }

    public void setIsvalid(Integer isvalid) {
        this.isvalid = isvalid;
    }

    public Integer getIsenable() {
        return isenable;
    }

    public void setIsenable(Integer isenable) {
        this.isenable = isenable;
    }

    public String getcMembercardApplicationid() {
        return cMembercardApplicationid;
    }

    public void setcMembercardApplicationid(String cMembercardApplicationid) {
        this.cMembercardApplicationid = cMembercardApplicationid == null ? null : cMembercardApplicationid.trim();
    }

    public String getCardOutNumber() {
        return cardOutNumber;
    }

    public void setCardOutNumber(String cardOutNumber) {
        this.cardOutNumber = cardOutNumber == null ? null : cardOutNumber.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getcFamilyId() {
        return cFamilyId;
    }

    public void setcFamilyId(String cFamilyId) {
        this.cFamilyId = cFamilyId == null ? null : cFamilyId.trim();
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber == null ? null : contractNumber.trim();
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName == null ? null : contractName.trim();
    }

    public String getContractid() {
        return contractid;
    }

    public void setContractid(String contractid) {
        this.contractid = contractid == null ? null : contractid.trim();
    }

    public String getKidsParkid() {
        return kidsParkid;
    }

    public void setKidsParkid(String kidsParkid) {
        this.kidsParkid = kidsParkid == null ? null : kidsParkid.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }
}